/* 这个文件用来部署dudu的客户端。部署项目时，需要将build,当前文件拷贝到服务器 */
// server.js
var express = require('express');
var path = require('path');
var serveStatic = require('serve-static');
app = express();
app.use(serveStatic(__dirname + "/build"));
var port = process.env.PORT || 3000;


app.listen(port, () => {
   console.log(`Server running at ${port}/`);
 });